package com.yc.tools;

/**
 * Created with IntelliJ IDEA.
 * description: 地图工具
 * author: yc
 * date: 2021/5/26 14:29
 */
public class TestMap {

    public void m1() {
        String postion = PositionConvertUtil.bdConvertGd("114.945022", "25.839404");
        System.out.println(postion);
    }

    public void m2() {
//        double res = PositionConvertUtil.getDistanceOfMeter(120.11426819920652, 30.273317349147295, 120.122025,30.272443);
        double res = PositionConvertUtil.getDistanceOfMeter(120.07273497374193,30.29558971182579, 120.073562,30.295795);
        System.out.println(res);
    }

    public static void main(String[] args) {
        TestMap tm = new TestMap();
//        tm.m1();
        tm.m2();
    }

}
